package com.hollycrm.unicom.sheet.code;

import java.util.List;

import com.hollycrm.unicom.sheet.define.ClassTreeViewObject;
import com.hollycrm.unicom.code.GeneralCode;
import com.hollycrm.unicom.sheet.define.SheetCategory;
import com.hollycrm.unicom.usersupport.DepartmentTreeViewObject;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author Tian Kai
 * @version 1.0
 */

public interface CodeManager {

    public List/*GeneralCode*/ getGeneralCodeList(String codeType);

    public GeneralCode getGeneralCode(String codeType, String codeID);

    public List/*ClassTreeViewObject*/ getProblemClassTreeList(String treeType);

    public ClassTreeViewObject getProblemClass(String problemID);

    public List/*DepartmentTreeViewObject*/ getDepartmentTreeList();

    public DepartmentTreeViewObject getDepartment(String deptID);

    public List/*SheetCategory*/ getSheetCategoryList();

    public SheetCategory getSheetCategory(String categoryID);

    public List/*SheetTemplateField*/ getProblemTemplate(String problemID);

    public List/*ProblemOtherRelation*/ getProblemOtherRelation(String problemID);

    public String getProblemFlowID(String problemID);

    //modified since 2005-05-11
    public List/*ClassTreeViewObject*/ getProblemClassTreeListBySpell(String spellStr);

    public double getCustomerLevelPriority(final String customerLevel, final boolean isUsed);

    public List/*DepartmentTreeViewObject*/ getDepartmentTreeList(String deptID);

}
